import { Post, Get } from './request'

/** 登录 */
export const login = (params: any) => Post('/admin/login', params) 

/** 登出 */
export const logout = () => Post('/admin/logout')

/** 启动时检查服务器是否已启动 */
export const checkServer = () => Get('/admin/program')